package com.valueanimator;

import android.content.Context;
import android.util.AttributeSet;

public class MyButton extends android.support.v7.widget.AppCompatButton {
    private int myText;

    public MyButton(Context context, AttributeSet attrs) {
        super(context, attrs);
    }

    public int getMyText() {
        return myText;
    }

    public void setMyText(int myText) {
        this.myText = myText;
        setText(String.valueOf(myText));
    }
}
